<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>CSS 框模型 (Box Model)</title>

    <style type="text/css">
        div {
            background-color: red;

            height: 200px;
            width: 200px;

            line-height: 200px;
            text-align: center;

            margin: -50px;
            /*padding: 20px;*/
            padding: 50px;
            border: lawngreen 10px solid;
        }
    </style>
</head>
<body>

    <p>123456</p>
    <div>
        div
    </div>
</body>
</html>